<template>
  <div>{{ userStore.userInfo.userName }}</div>
  <!-- <button @click="userStore.DELETE_USER">退出登录</button> -->
  <button @click="test">测试</button>
  <h1>{{ name }} -- {{ count }}</h1>
</template>

<script setup>
import { TEST_HOOKS } from '@/hooks'

const { name, setName, count } = TEST_HOOKS()

import { useUserStore } from '@/stores'

const userStore = useUserStore()

const test = () => {
  setName('李四')
}
</script>

<style scoped lang="less"></style>
